
package com.joysuch.wwyt.core.test;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.joysuch.wwyt.core.entity.BaseMenuFunction;
import lombok.Data;

@Data
public class AuthoriImportTestBean {

    private int rowIndex;

    private Long id;
    @Excel(name = "名称")
    private String name;
    @Excel(name = "父菜单")
    private String parentName;
    @Excel(name = "路径")
    private String path;
    @Excel(name = "权限")
    private String perm;
    @Excel(name = "类型")
    private String type;
    @Excel(name = "顺序")
    private Integer orderNo;

    private int depth;

    private BaseMenuFunction entity;

    public Integer getOrderNo() {
        if (orderNo == null) {
            return 1000;
        }
        return orderNo;
    }

    public void setOrderNo(Integer no) {
        this.orderNo = no;
    }
}
